package com.yzt.zhuju.network.entity.message;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 作者：bobwang
 * 创建时间：2023-12-24 19:38:47
 * 描述：
 */
public class GiftInfoBean implements Parcelable {

    private String candyCoin;

    private String giftIcon;

    private String giftId;

    private String giftName;

    public GiftInfoBean() {
    }

    protected GiftInfoBean(Parcel in) {
        candyCoin = in.readString();
        giftIcon = in.readString();
        giftId = in.readString();
        giftName = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(candyCoin);
        dest.writeString(giftIcon);
        dest.writeString(giftId);
        dest.writeString(giftName);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<GiftInfoBean> CREATOR = new Creator<GiftInfoBean>() {
        @Override
        public GiftInfoBean createFromParcel(Parcel in) {
            return new GiftInfoBean(in);
        }

        @Override
        public GiftInfoBean[] newArray(int size) {
            return new GiftInfoBean[size];
        }
    };

    public String getGiftName() {
        return giftName;
    }

    public void setGiftName(String giftName) {
        this.giftName = giftName;
    }

    public String getCandyCoin() {
        return candyCoin;
    }

    public void setCandyCoin(String candyCoin) {
        this.candyCoin = candyCoin;
    }

    public String getGiftIcon() {
        return giftIcon;
    }

    public void setGiftIcon(String giftIcon) {
        this.giftIcon = giftIcon;
    }

    public String getGiftId() {
        return giftId;
    }

    public void setGiftId(String giftId) {
        this.giftId = giftId;
    }
}
